<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'license-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'controlNo'); ?>
		<?php echo $form->textField($model,'controlNo',array('size'=>20,'maxlength'=>20)); ?>
		<?php echo $form->error($model,'controlNo'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'licenseNo'); ?>
		<?php echo $form->textField($model,'licenseNo',array('size'=>20,'maxlength'=>20)); ?>
		<?php echo $form->error($model,'licenseNo'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'kindMake'); ?>
		<?php echo $form->textField($model,'kindMake',array('size'=>20,'maxlength'=>20)); ?>
		<?php echo $form->error($model,'kindMake'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'modelCalibre'); ?>
		<?php echo $form->textField($model,'modelCalibre',array('size'=>20,'maxlength'=>20)); ?>
		<?php echo $form->error($model,'modelCalibre'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'serialNo'); ?>
		<?php echo $form->textField($model,'serialNo',array('size'=>20,'maxlength'=>20)); ?>
		<?php echo $form->error($model,'serialNo'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'name'); ?>
		<?php echo $form->textField($model,'name',array('size'=>30,'maxlength'=>30)); ?>
		<?php echo $form->error($model,'name'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'address'); ?>
		<?php echo $form->textField($model,'address',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'address'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'dateIssued'); ?>
		<?php echo $form->textField($model,'dateIssued'); ?>
		<?php echo $form->error($model,'dateIssued'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'expiryDate'); ?>
		<?php echo $form->textField($model,'expiryDate'); ?>
		<?php echo $form->error($model,'expiryDate'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'dateOfBirth'); ?>
		<?php echo $form->textField($model,'dateOfBirth'); ?>
		<?php echo $form->error($model,'dateOfBirth'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->